package com.lai.gulimall.order.feign;

import com.lai.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-cart")
public interface CartFeignService {

    @GetMapping("/getUserCartItems/{memberId}")
    R getUserCartItemsById(@PathVariable("memberId") Long memberId);

}
